var mongoose = require('./mongoose.js');
var Curd = require('./curd.js');
var schema = {
    _id: {
        type: String,
        unique: true
    },
    openid:String,
    // 积分
    point:Number,
    // 描述
    desc:String,
    // 积分生成时间
    createTime:Date
}
var model = mongoose("point", schema, "point").model;

module.exports = new Curd()(model);
